from examples.deep_learning_forecasting import DeepLearningModels, ModelTrainer

# 创建模型
model = DeepLearningModels.create_lstm_model(input_shape)

# 训练
trainer = ModelTrainer()
result = trainer.train_model(model, X_train, y_train, X_val, y_val, 'LSTM')

